.class public Lrexsee/location/RexseeMapAbc$MapDialog;
.super Lrexsee/core/widget/DivDialog;
.source "RexseeMapAbc.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lrexsee/location/RexseeMapAbc;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x9
    name = "MapDialog"
.end annotation


# instance fields
.field public mapController:Lcom/mapabc/mapapi/MapController;

.field public mapView:Lcom/mapabc/mapapi/MapView;


# direct methods
.method public constructor <init>(Lrexsee/core/browser/Browser;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 2
    .param p1, "browser"    # Lrexsee/core/browser/Browser;
    .param p2, "dialogId"    # Ljava/lang/String;
    .param p3, "style"    # Ljava/lang/String;
    .param p4, "apiKey"    # Ljava/lang/String;

    .prologue
    .line 820
    invoke-direct {p0, p1, p2, p3}, Lrexsee/core/widget/DivDialog;-><init>(Lrexsee/core/browser/Browser;Ljava/lang/String;Ljava/lang/String;)V

    .line 821
    new-instance v0, Lcom/mapabc/mapapi/MapView;

    invoke-virtual {p1}, Lrexsee/core/browser/Browser;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1, p4}, Lcom/mapabc/mapapi/MapView;-><init>(Landroid/content/Context;Ljava/lang/String;)V

    iput-object v0, p0, Lrexsee/location/RexseeMapAbc$MapDialog;->mapView:Lcom/mapabc/mapapi/MapView;

    .line 822
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc$MapDialog;->mapView:Lcom/mapabc/mapapi/MapView;

    invoke-virtual {p0, v0}, Lrexsee/location/RexseeMapAbc$MapDialog;->addChild(Landroid/view/View;)V

    .line 823
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc$MapDialog;->mapView:Lcom/mapabc/mapapi/MapView;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/mapabc/mapapi/MapView;->setBuiltInZoomControls(Z)V

    .line 824
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc$MapDialog;->mapView:Lcom/mapabc/mapapi/MapView;

    invoke-virtual {v0}, Lcom/mapabc/mapapi/MapView;->getController()Lcom/mapabc/mapapi/MapController;

    move-result-object v0

    iput-object v0, p0, Lrexsee/location/RexseeMapAbc$MapDialog;->mapController:Lcom/mapabc/mapapi/MapController;

    .line 825
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc$MapDialog;->mapController:Lcom/mapabc/mapapi/MapController;

    const/16 v1, 0xc

    invoke-virtual {v0, v1}, Lcom/mapabc/mapapi/MapController;->setZoom(I)I

    .line 826
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc$MapDialog;->mapView:Lcom/mapabc/mapapi/MapView;

    new-instance v1, Lrexsee/location/RexseeMapAbc$MapDialog$1;

    invoke-direct {v1, p0}, Lrexsee/location/RexseeMapAbc$MapDialog$1;-><init>(Lrexsee/location/RexseeMapAbc$MapDialog;)V

    invoke-virtual {v0, v1}, Lcom/mapabc/mapapi/MapView;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    .line 838
    return-void
.end method

.method static synthetic access$0(Lrexsee/location/RexseeMapAbc$MapDialog;)Lrexsee/core/browser/Browser;
    .locals 1

    .prologue
    .line 813
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc$MapDialog;->mBrowser:Lrexsee/core/browser/Browser;

    return-object v0
.end method
